package com.ming.attendance.po;

public class Beacon {

    private String beaconId;
    private String uuid;
    private Integer major;
    private Integer minor;
    private Double accuracy;
    private Integer proximity;
    private Integer rssi;
    private Integer using;

    public Beacon() {
    }

    public Beacon(String beaconId, String uuid, Integer major, Integer minor, Double accuracy, Integer proximity, Integer rssi, Integer using) {
        this.beaconId = beaconId;
        this.uuid = uuid;
        this.major = major;
        this.minor = minor;
        this.accuracy = accuracy;
        this.proximity = proximity;
        this.rssi = rssi;
        this.using = using;
    }

    public String getBeaconId() {
        return beaconId;
    }

    public void setBeaconId(String beaconId) {
        this.beaconId = beaconId;
    }

    public Integer getUsing() {
        return using;
    }

    public void setUsing(Integer using) {
        this.using = using;
    }

    public Double getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Double accuracy) {
        this.accuracy = accuracy;
    }

    public Integer getMajor() {
        return major;
    }

    public void setMajor(Integer major) {
        this.major = major;
    }

    public Integer getMinor() {
        return minor;
    }

    public void setMinor(Integer minor) {
        this.minor = minor;
    }

    public Integer getProximity() {
        return proximity;
    }

    public void setProximity(Integer proximity) {
        this.proximity = proximity;
    }

    public Integer getRssi() {
        return rssi;
    }

    public void setRssi(Integer rssi) {
        this.rssi = rssi;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "Beacon{" +
                "accuracy=" + accuracy +
                ", major=" + major +
                ", minor=" + minor +
                ", proximity=" + proximity +
                ", rssi=" + rssi +
                ", uuid='" + uuid + '\'' +
                '}';
    }
}
